import Vue from "vue";
import App from "./App";
import uView from "uview-ui";
Vue.config.productionTip = false;

import store from "./store";
App.mpType = "app";
// 引入vuex
Vue.prototype.$store = store;
Vue.prototype.$mainColor = "#ff3c2a"; // 主题色

Vue.prototype.$lightColor = "#ff6b35"; // 高亮主题色

import * as filters from "@/utils/filters"; // global filter

Object.keys(filters).forEach((key) => {
  Vue.filter(key, filters[key]);
});
Vue.use(uView);
const app = new Vue({
  ...App,
});
app.$mount();
